package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author dong
 * @since 2022-11-16
 */
@Getter
@Setter
  @TableName("c_user")
@ApiModel(value = "User对", description = "")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

  @ApiModelProperty("主键 自增")
  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;

  @ApiModelProperty("用户昵称")
  private String name;

  @ApiModelProperty("邮箱")
  private String email;

  @ApiModelProperty("密码")
  private String password;

  @ApiModelProperty("手机号码")
  private String tel;

  @ApiModelProperty("性别  1：男   0：女")
  private Integer sex;

  @ApiModelProperty("头像图片")
  private String img;

  @ApiModelProperty("余额")
  private BigDecimal money;

  @ApiModelProperty("用户类型  1：用户 2：门店 3：后台端")
  private Integer type;
}
